package stattracker;

public abstract class GameData implements java.io.Serializable
{
	private static final long serialVersionUID = 1L;
	private int updating;
	private String gamertag;
	
	public GameData(String gt)
	{
		gamertag = gt;
	}
	
	public String getGamertag()
	{
		return gamertag;
	}
	
	public boolean isUpdating()
	{
		return updating > 0;
	}
	
	public void moreUpdate()
	{
		updating++;
	}
	
	public void lessUpdate()
	{
		updating--;
	}
}
